package star.cloud.asme.base.file.fileInfo;

import org.springframework.web.multipart.MultipartFile;
import star.cloud.asme.base.dto.Result;
import star.cloud.asme.base.mybatis.IBaseService;

import java.util.List;

public interface FileInfoService extends IBaseService<FileInfo> {

    default FileInfo getFileInfoByKeyword(String keyword) {
        return null;
    }

    default Result<List<FileInfo>> getFileInfoListByKeyword(String keyword) {
        return null;
    }

    default FileInfo uploadOneFile(FileInfo fileInfo, MultipartFile file) {
        return null;
    }

    default FileInfo appendOneFile(FileInfo fileInfo, MultipartFile file) {
        return null;
    }

    default Result<FileInfo> getOneByKeyword(String keyword) {
        return null;
    }

    default Result<?> physicalDeleteByUid(Long uid) {
        return null;
    }

    default Result<?> physicalDeleteByKeyWord(String keyWord) {
        return null;
    }

}